<?php /* Smarty version Smarty-3.0.5, created on 2011-05-31 17:12:06
         compiled from ".\templates\tanulmanyi.tpl" */ ?>
<?php /*%%SmartyHeaderCode:59464de52166c40793-59412056%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b323cc328c2793b1a0d1eca144e66280154bb6ff' => 
    array (
      0 => '.\\templates\\tanulmanyi.tpl',
      1 => 1306861923,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '59464de52166c40793-59412056',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!isset($_smarty_tpl->tpl_vars['pageStyles']) || !is_array($_smarty_tpl->tpl_vars['pageStyles']->value)) $_smarty_tpl->createLocalArrayVariable('pageStyles', null, null);
$_smarty_tpl->tpl_vars['pageStyles']->value[] = "css/contractstyle.css";?>
<?php if (!isset($_smarty_tpl->tpl_vars['pageStyles']) || !is_array($_smarty_tpl->tpl_vars['pageStyles']->value)) $_smarty_tpl->createLocalArrayVariable('pageStyles', null, null);
$_smarty_tpl->tpl_vars['pageStyles']->value[] = "css/mainstyle.css";?>
<?php $_template = new Smarty_Internal_Template("header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<body class="background">

    <!-- User Information -->
    

    <table class="tabl">
        <tr>
            <td><?php echo $_smarty_tpl->getVariable('userinfo')->value['UIName'];?>
</td>
            <td><?php echo $_smarty_tpl->getVariable('userinfo')->value['Semester'];?>
</td>
        </tr>
    </table> <br />

    <!-- Study Contract -->
    <form id="disciplinesForm" method="post" action="/index.php" >
        <input type="hidden" name="page" value="tanulmanyi"/>
        <input type="hidden" name="saveToDoc" value="1"/>
        <table border="1" class="tabl">
            <tr>
                <th>Kivalasztott tantargy</th>
                <th>Szaktantargyak</th>
                <th>Kredit szam</th>
                <th>Oraszam</th>
                <th>Tipus</th>
                <th>Tanar neve</th>
                <th>Szemeszter</th>
            </tr>
<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('studyc')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
            <tr>
                <input type="hidden" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="0" />
                <td><input type="checkbox" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="1" /></td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['DName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Credit'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['CourseHours'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Type'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['TName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Semester'];?>
</td>
            </tr>
<?php }} ?>
        </table> <br />

        <!-- Disciplines1 -->


        <table border="1" class="tabl">
            <tr>
                <th>Kivalasztott tantargy</th>
                <th>Szaktantargyak</th>
                <th>Kredit szam</th>
                <th>Oraszam</th>
                <th>Tipus</th>
                <th>Tanar neve</th>
                <th>Szemeszter</th>
            </tr>


<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('disciplines1')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
            <tr>
                <input type="hidden" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="0" />
                <td><input type="checkbox" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="1" /></td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['DName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Credit'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['CourseHours'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Type'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['TName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Semester'];?>
</td>
            </tr>
<?php }} ?>
        </table> <br />
        <!-- Disciplines2 -->


        <table border="1" class="tabl">
            <tr>
                <th>Kivalasztott tantargy</th>
                <th>Szaktantargyak</th>
                <th>Kredit szam</th>
                <th>Oraszam</th>
                <th>Tipus</th>
                <th>Tanar neve</th>
                <th>Szemeszter</th>
            </tr>


<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('disciplines2')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
            <tr>
                <input type="hidden" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="0" />
                <td><input type="checkbox" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="1" /></td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['DName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Credit'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['CourseHours'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Type'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['TName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Semester'];?>
</td>
            </tr>
<?php }} ?>
        </table> <br />
             <!-- Disciplines3 -->


        <table border="1" class="tabl">
            <tr>
                <th>Kivalasztott tantargy</th>
                <th>Szaktantargyak</th>
                <th>Kredit szam</th>
                <th>Oraszam</th>
                <th>Tipus</th>
                <th>Tanar neve</th>
                <th>Szemeszter</th>
            </tr>


<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('disciplines3')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
            <tr>
                <input type="hidden" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="0" />
                <td><input type="checkbox" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="1" /></td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['DName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Credit'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['CourseHours'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Type'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['TName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Semester'];?>
</td>
            </tr>
<?php }} ?>
        </table> <br />
             <!-- Disciplines4 -->


        <table border="1" class="tabl">
            <tr>
                <th>Kivalasztott tantargy</th>
                <th>Szaktantargyak</th>
                <th>Kredit szam</th>
                <th>Oraszam</th>
                <th>Tipus</th>
                <th>Tanar neve</th>
                <th>Szemeszter</th>
            </tr>


<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('disciplines4')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
            <tr>
                <input type="hidden" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="0" />
                <td><input type="checkbox" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="1" /></td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['DName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Credit'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['CourseHours'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Type'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['TName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Semester'];?>
</td>
            </tr>
<?php }} ?>
        </table> <br />
             <!-- Disciplines5 -->


        <table border="1" class="tabl">
            <tr>
                <th>Kivalasztott tantargy</th>
                <th>Szaktantargyak</th>
                <th>Kredit szam</th>
                <th>Oraszam</th>
                <th>Tipus</th>
                <th>Tanar neve</th>
                <th>Szemeszter</th>
            </tr>


<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('disciplines5')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
            <tr>
                <input type="hidden" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="0" />
                <td><input type="checkbox" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="1" /></td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['DName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Credit'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['CourseHours'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Type'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['TName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Semester'];?>
</td>
            </tr>
<?php }} ?>
        </table> <br />
             <!-- Disciplines6 -->


        <table border="1" class="tabl">
            <tr>
                <th>Kivalasztott tantargy</th>
                <th>Szaktantargyak</th>
                <th>Kredit szam</th>
                <th>Oraszam</th>
                <th>Tipus</th>
                <th>Tanar neve</th>
                <th>Szemeszter</th>
            </tr>


<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('disciplines6')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
            <tr>
                <input type="hidden" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="0" />
                <td><input type="checkbox" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="1" /></td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['DName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Credit'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['CourseHours'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Type'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['TName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Semester'];?>
</td>
            </tr>
<?php }} ?>
        </table> <br />
             <!-- Disciplines7 -->


        <table border="1" class="tabl">
            <tr>
                <th>Kivalasztott tantargy</th>
                <th>Szaktantargyak</th>
                <th>Kredit szam</th>
                <th>Oraszam</th>
                <th>Tipus</th>
                <th>Tanar neve</th>
                <th>Szemeszter</th>
            </tr>


<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('disciplines7')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
            <tr>
                <input type="hidden" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="0" />
                <td><input type="checkbox" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="1" /></td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['DName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Credit'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['CourseHours'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Type'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['TName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Semester'];?>
</td>
            </tr>
<?php }} ?>
        </table> <br />
             <!-- Disciplines8 -->


        <table border="1" class="tabl">
            <tr>
                <th>Kivalasztott tantargy</th>
                <th>Szaktantargyak</th>
                <th>Kredit szam</th>
                <th>Oraszam</th>
                <th>Tipus</th>
                <th>Tanar neve</th>
                <th>Szemeszter</th>
            </tr>


<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('disciplines8')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
            <tr>
                <input type="hidden" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="0" />
                <td><input type="checkbox" name="selected[<?php echo $_smarty_tpl->tpl_vars['item']->value['Id'];?>
]" value="1" /></td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['DName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Credit'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['CourseHours'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Type'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['TName'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['item']->value['Semester'];?>
</td>
            </tr>
<?php }} ?>
        </table> <br />
     <input type="submit" name="save" value="Save" /><br /><br></br>
        <input type="hidden" name="page" value="tanulmanyi"/>

    </form>



<form name="form5" method="post" action="/index.php" >

        


    </form>
        <button onclick="location = 'index.php?page=Main'">Back to main</button>
        <button onclick="document.getElementById('disciplinesForm').submit();">Save to Doc</button>



</body>
</html>